/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package slsBeans;

import EL.FoodTypes;
import EL.Foods;
import java.util.List;
import javax.ejb.Remote;

/**
 *
 * @author Tian
 */
@Remote
public interface FoodBLORemote {

    List<Foods> getAll();

    Foods getByID(int id);

    Foods getByName(String name);

    boolean add(Foods food, FoodTypes foodType);

    boolean edit(Foods food);

    boolean delete(int id);

    List<Foods> getFoodByFoodType(String foodType);

    List<Foods> getByCategory(String category);
    
}
